package top.healthylife.gateway.platform.baihang.api.api.operatorproduct;


import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import top.healthylife.gateway.core.service.ParentFace;
import top.healthylife.gateway.dto.annotation.ApiServiceExplain;
import top.healthylife.gateway.platform.baihang.api.util.BaiHangHttpUtil;
import top.healthylife.gateway.platform.baihang.dto.operatorproduct.mbasu009.req.BHReqPhoneJuneCallCheckDto;
import top.healthylife.gateway.platform.baihang.dto.operatorproduct.mbasu009.res.BHResPhoneJuneCallCheckDto;

/**
 * 手机间 6 月内通话次数核查
 * @author gwx
 * @date 2021/9/6
 */
@Slf4j
@Service
@ApiServiceExplain(price = 20 , apiName = "手机间6月内通话次数核查" , info = "核查手机号近 6 个月之间的通话次数（支持联通）")
public class BHPhoneJuneCallCheckApi implements ParentFace<BHReqPhoneJuneCallCheckDto, BHResPhoneJuneCallCheckDto> {

    private static final String PRODUCT_CODE = "MBASUT09";

    @Override
    public BHResPhoneJuneCallCheckDto execute(BHReqPhoneJuneCallCheckDto reqDto){
        return BaiHangHttpUtil.httpPostRequest(reqDto,PRODUCT_CODE, BHResPhoneJuneCallCheckDto.class);
    }
}
